QT       += core gui
QT       += charts
QT       += core gui network
QT       += axcontainer

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

msvc {
    QMAKE_CFLAGS += /utf-8
    QMAKE_CXXFLAGS += /utf-8
}

DEFINES += QT_DEPRECATED_WARNINGS

TARGET = GateWayXCfg

SOURCES += \
    TCP_UDP_Assistant/myserver.cpp \
    TCP_UDP_Assistant/mysocket.cpp \
    TCP_UDP_Assistant/mythread.cpp \
    TCP_UDP_Assistant/tcpassistant.cpp \
    TCP_UDP_Assistant/tcpserverassistant.cpp \
    TCP_UDP_Assistant/udpassistant.cpp \
    UI_CFG/acquisitionmodel.cpp \
    UI_CFG/formcfguart.cpp \
    UI_CFG/formlinkagecfg.cpp \
    UI_CFG/forwardmodel.cpp \
    UI_CFG/qsystem_cfg.cpp \
    UI_CFG/uicfgchannel.cpp \
    UI_CFG/uiparameterize.cpp \
    aes/aes.cpp \
    aes/ed_aes.cpp \
    app/alg.cpp \
    app/app_global.cpp \
    log/qt_log.cpp \
    maininterface/login.cpp \
    maininterface/main.cpp \
    maininterface/mainwindow.cpp \
    maininterface/mimashezhi.cpp \
    maininterface/registrationpage.cpp \
    protocol/crc16.cpp \
    protocol/get.c \
    protocol/protocol.cpp \
    protocol/put.c \
    protocol/qtnetmsgevent.cpp \
    protocol/set.c \
    protocol/upgrade.c

HEADERS += \
    TCP_UDP_Assistant/myserver.h \
    TCP_UDP_Assistant/mysocket.h \
    TCP_UDP_Assistant/mythread.h \
    TCP_UDP_Assistant/net_def.h \
    TCP_UDP_Assistant/tcpassistant.h \
    TCP_UDP_Assistant/tcpserverassistant.h \
    TCP_UDP_Assistant/udpassistant.h \
    UI_CFG/acquisitionmodel.h \
    UI_CFG/formcfguart.h \
    UI_CFG/formlinkagecfg.h \
    UI_CFG/forwardmodel.h \
    UI_CFG/qsystem_cfg.h \
    UI_CFG/uicfgchannel.h \
    UI_CFG/uiparameterize.h \
    aes/aes.h \
    aes/aes_params.h \
    aes/ed_aes.h \
    app/alg.h \
    app/app_global.h \
    app/app_struct.h \
    app/vd_cfg.h \
    app/vd_struct.h \
    log/qt_log.h \
    log/qt_log_struct.h \
    maininterface/login.h \
    maininterface/mainwindow.h \
    maininterface/mimashezhi.h \
    maininterface/registrationpage.h \
    protocol/crc16.h \
    protocol/datagram.h \
    protocol/dl_net_data.h \
    protocol/get.h \
    protocol/protocol.h \
    protocol/protocol_struct.h \
    protocol/put.h \
    protocol/qtnetmsgevent.h \
    protocol/set.h \
    protocol/upgrade.h


INCLUDEPATH += $$PWD/maininterface\
    tcp_server\
    protocol\
    app\
    aes\
    log\
    net\

DEPENDPATH += $$PWD/lib


FORMS += \
    TCP_UDP_Assistant/tcpassistant.ui \
    TCP_UDP_Assistant/tcpserverassistant.ui \
    TCP_UDP_Assistant/udpassistant.ui \
    UI_CFG/acquisitionmodel.ui \
    UI_CFG/formcfguart.ui \
    UI_CFG/formlinkagecfg.ui \
    UI_CFG/forwardmodel.ui \
    UI_CFG/qsystem_cfg.ui \
    UI_CFG/uicfgchannel.ui \
    UI_CFG/uiparameterize.ui \
    maininterface/login.ui \
    maininterface/mainwindow.ui \
    maininterface/mimashezhi.ui \
    maininterface/registrationpage.ui \



# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES +=


RESOURCES += \
    image/Resources.qrc




